2using System.Collections.Generic;
18 double m_dfProgress = 0;
28 m_dfProgress = dfProgress;
36 get {
return m_strSrc; }
44 get {
return m_dfProgress; }
56 bool m_bOverrideEnabled =
false;
57 bool m_bConsumed =
false;
58 bool m_bDisable =
false;
69 public LogArg(
string strSrc,
string strMsg,
double dfProgress = 0.0,
bool bError =
false,
bool bOverrideEnabled =
false,
bool bDisable =
false)
70 : base(strSrc, dfProgress)
74 m_bOverrideEnabled = bOverrideEnabled;
75 m_bDisable = bDisable;
83 get {
return m_bConsumed; }
84 set { m_bConsumed = value; }
92 get {
return m_bDisable; }
93 set { m_bDisable = value; }
101 get {
return m_strMsg; }
109 get {
return m_bError; }
117 get {
return m_bOverrideEnabled; }
120#pragma warning disable 1591
124 get {
return m_tag; }
125 set { m_tag = value; }
128#pragma warning restore 1591
138 bool m_bCancelled =
false;
154 get {
return m_rgImg; }
162 get {
return m_mean; }
163 set { m_mean = value; }
171 get {
return m_bCancelled; }
172 set { m_bCancelled = value; }
197 get {
return m_proto; }
198 set { m_proto = value; }
The CalculateImageMeanArgs is passed as an argument to the MyCaffeImageDatabase::OnCalculateImageMean...
SimpleDatum ImageMean
Get/set the image mean calculated from the Images.
CalculateImageMeanArgs(SimpleDatum[] rgImg)
The CalculateImageMeanArgs constructor.
SimpleDatum[] Images
Specifies the list of images from which the mean should be calculated.
bool Cancelled
Get/set a flag indicating to cancel the operation.
The LogArg is passed as an argument to the Log::OnWriteLine event.
bool Consumed
Specifies whether or not the message has already been consumed.
bool OverrideEnabled
Returns whether or not the override was enabled or not.
bool Error
Returns whether or not this is an error message.
string Message
Returns the message logged.
bool Disable
Specifies whether or not to mark this log entry as disabled so that it is not output.
LogArg(string strSrc, string strMsg, double dfProgress=0.0, bool bError=false, bool bOverrideEnabled=false, bool bDisable=false)
The LogArg constructor.
The LogProgressArg is passed as an argument to the Log::OnProgress event.
LogProgressArg(string strSrc, double dfProgress)
The LogProgressArg constructor.
double Progress
Returns the progress value.
string Source
Returns the Log source name.
The OverrideProjectArgs is passed as an argument to the OnOverrideModel and OnOverrideSolver events f...
RawProto Proto
Get/set the RawProto used.
OverrideProjectArgs(RawProto proto)
The OverrideProjectArgs constructor.
The RawProto class is used to parse and output Google prototxt file data.
The SimpleDatum class holds a data input within host memory.
The MyCaffe.basecode contains all generic types used throughout MyCaffe.