MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The MyCaffeGymUiProxy is used to interact with the MyCaffeGymUiService. More...
Public Member Functions | |
MyCaffeGymUiProxy (InstanceContext ctx, NetNamedPipeBinding binding=null) | |
The constructor. More... | |
int | OpenUi (string strName, int nId, bool bStartRecording=false) |
Open the Gym user interface. More... | |
void | CloseUi (int nId) |
Closes the Gym user interface. More... | |
void | Render (int nId, Observation obs) |
Render the observation of the Gym. More... | |
bool | IsOpen (int nId) |
Returns whether or not the Gym user interface is visible or not. More... | |
The MyCaffeGymUiProxy is used to interact with the MyCaffeGymUiService.
Definition at line 14 of file MyCaffeGymUiProxy.cs.
MyCaffe.gym.MyCaffeGymUiProxy.MyCaffeGymUiProxy | ( | InstanceContext | ctx, |
NetNamedPipeBinding | binding = null |
||
) |
The constructor.
ctx | Specifies the context. |
binding | Optionally, specifies the binding. Specifying a binding can be useful when you need to set larger buffer sizes. |
Definition at line 24 of file MyCaffeGymUiProxy.cs.
void MyCaffe.gym.MyCaffeGymUiProxy.CloseUi | ( | int | nId | ) |
Closes the Gym user interface.
nId | Specifies the ID of the Gym. |
Definition at line 47 of file MyCaffeGymUiProxy.cs.
bool MyCaffe.gym.MyCaffeGymUiProxy.IsOpen | ( | int | nId | ) |
Returns whether or not the Gym user interface is visible or not.
nId | Specifies the ID of the Gym. |
Definition at line 83 of file MyCaffeGymUiProxy.cs.
int MyCaffe.gym.MyCaffeGymUiProxy.OpenUi | ( | string | strName, |
int | nId, | ||
bool | bStartRecording = false |
||
) |
Open the Gym user interface.
strName | Specifies the Gym name. |
nId | Specifies the ID of the Gym. |
bStartRecording | Optionally, specifies to open with recording on. |
Definition at line 37 of file MyCaffeGymUiProxy.cs.
void MyCaffe.gym.MyCaffeGymUiProxy.Render | ( | int | nId, |
Observation | obs | ||
) |
Render the observation of the Gym.
nId | Specifies the ID of the Gym. |
obs | Specifies the Observation to render. |
Definition at line 61 of file MyCaffeGymUiProxy.cs.